import java.util.Arrays;
public class Test01{
    public static void main(String[] args){
        int arr1[] = {1,2,3};
        System.out.println(arr1);
        // int[] arr2 = new int[3];
        // System.out.println(arr2);
        // int arr2[] = Arrays.copyOf(arr1, 10);
        // Arrays.fill(arr2, 100);
        // System.out.println("arr:" + Arrays.toString(arr2));

        int[] arr2 = Arrays.copyOfRange(arr1,1,2);
        System.out.println("arr:" + Arrays.toString(arr2));


        String arr3[] = new String[3];
        // System.out.println(arr3[2]);
        System.out.println(arr3);
        double[] arr4 = new double[3];
        // System.out.println(arr4[2]);
        System.out.println(arr4);
        char[] arr5 = new char[3];
        // System.out.println(arr5[2]);
        System.out.println(arr5);


    }
}